<!DOCTYPE html>
<html>
{$headHtml}
<body>
{$head_navlist}
<!-- banner -->
<div class="banner">
    <div class="swiper-wrapper">
        <yang:abc id="$headInfo[banner_select_id]" limit="4">
            <div class="swiper-slide"><a href="javascript:void(0)"><img src="{$abc[content]}" alt="" /></a></div>
        </yang:abc>
    </div>
    <!-- Add Pagination -->
    <div class="swiper-pagination"></div>
</div>
<!-- 主体部分 -->
<section class="content">
    <!-- 新闻资讯 -->
    <section class="box brand_content">
        <div class="location">
            <a href="">当前位置</a>-<a href="/pn_<?=$headInfo[ename]?>">{$headInfo[name]}</a>-
            <?php if($headInfo[id]==$catalogSelect[id]): ?>
                <a href="">全部新闻</a>
            <?php else: ?>
                <a href="/pn_<?=$catalogSelect[ename]?>">{$catalogSelect[name]}</a>
            <?php endif; ?>
        </div>
        <div class="fullBox">
            <div class="navListBox clear">
                <a href="/pn_<?=$headInfo[ename]?>" class="Join_list <?=$headInfo[id]==$catalogSelect[id]?'tab_active':''?>"><p>全部新闻</p></a>
                <?php $i=0; ?>
                <yang:navlist typeid="$headInfo[id]">
                    <?php if($i==1): ?>
                    <a href="/pn_<?=$navlist[ename]?>" class="Join_list <?=$activeCatalogId==$navlist[id]?'tab_active':''?>" style="margin-right: 0%"><p>{$navlist.name}</p></a>
                    <?php else: ?>
                    <a href="/pn_<?=$navlist[ename]?>" class="Join_list <?=$activeCatalogId==$navlist[id]?'tab_active':''?>"><p>{$navlist.name}</p></a>
                    <?php endif; ?>
                    <?php $i++; ?>
                </yang:navlist>
            </div>
        </div>
        <header class="brand_title">
            <h1><?=$headInfo[id]==$catalogSelect[id]?'全部新闻':$catalogSelect[name]?></h1>
        </header>
        <ul class="index_news_list news_list clear">
            <yang:artlist typeid="$catalogSelect[id]" limit="$selectPage,$pageCount">
                <li>
                    <a href="/article_<?=$artlist[id]?>">
                        <span class="index_news_list_time"><?=date('m-d',$artlist[publishtime])?></span>
                        <div class="index_news_list_img"><img src="{$artlist.litpic}" alt=""></div>
                        <p class="index_news_list_txt">{$artlist.title}</p>
                    </a>
                </li>
            </yang:artlist>
        </ul>
        <div class="news_page">
            <a href="/news_<?=$catalogSelect[id]?>_<?=($selectPage==0?0:$selectPage-$pageCount)?>">上一页</a>
            <?php for($i=0;$i<$newsCount/$pageCount;$i++): ?>
                <a class="<?=$i*$pageCount==$selectPage?'news_page_active':''?>" href="/news_<?=$catalogSelect[id]?>_<?=$i*$pageCount?>"><?=$i+1?></a>
            <?php endfor; ?>
            <a href="/news_<?=$catalogSelect[id]?>_<?=($selectPage+$pageCount>=$newsCount?$selectPage:$selectPage+$pageCount)?>">下一页</a>
        </div>
    </section>
</section>
{$footHtml}
<script>
    swiperBanner();
</script>
</body>
</html>